package com.efesco.stat.tjbb;

import com.bstek.dorado.common.*;
import com.bstek.dorado.data.*;
import com.bstek.dorado.view.*;
import com.bstek.dorado.view.data.*;
import com.bstek.dorado.view.control.*;
import com.bstek.dorado.view.control.dropdown.ListDropDown;

/**
 * BGXXHZ_conditionViewModel
 */
public class BGXXHZ_conditionViewModel extends DefaultViewModel {
  protected void initDatasets()
      throws Exception {
    super.initDatasets();
    // Add your code here
  }

  protected void initControls()
      throws Exception {
    super.initControls();
    ListDropDown dropdown_year=(ListDropDown)getControl("dropdown_year");
    ListDropDown dropdown_month=(ListDropDown)getControl("dropdown_month");
    for(int i=2000;i<=2020;i++)
        dropdown_year.addItem(String.valueOf(i));
    for(int i=1;i<=12;i++)
        dropdown_month.addItem(String.valueOf(i));
  }

}
